import { RespStatusCode } from '@/constants';

export function checkRespSuccessful(resp: API.Resp<any>): boolean {
  return resp.success === true && resp.code === RespStatusCode.SUCCESS;
}
